import { router } from "../router";
import { AppRouteModule } from "/@ts/router/types";

export const routerPush = (path: any) => {
  router.push(path);
};
export const routerReplace = (path: any) => {
  router.replace(path);
};
export const routerOpenPage = (data:any) =>{
  const params = router.resolve(data);
  window.open(params.href, '_blank');
}
 